package com.sig.utils;

import com.sig.formes.LayerParam;

public class Pair<B > implements Comparable<Pair>{
	
	Integer a;
	B b;
	
	private Pair()
	{
		
	}
	public Pair(Integer a, B b)
	{
		this.a = a;
		this.b = b;
	}
	public Integer getA()
	{
		return this.a; 
	}
	public B getB()
	{
		return this.b;
	}
	
	public void setB(B b)
	{
		this.b = b;
	}
	public void setA(Integer a)
	{
		this.a = a;
	}
	@Override
	public int compareTo(Pair another) {
		return getA().compareTo(another.getA());
	}
	
}
